tools/lib/lockdep: Define pr_cont()
authorBen Hutchings <ben@decadent.org.uk>
Sun, 1 Oct 2017 14:39:34 +0000 (15:39 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Sun, 15 Oct 2017 06:57:36 +0000 (07:57 +0100)
commita379f1fc18ed68ba79c1ac40d887b82e691a072d
tree6ecc726ef2ac5b3727c786979b75e0b357cf88cd
parent3e438661848134bffe80bbd4e5826a29a4897bc8
tools/lib/lockdep: Define pr_cont()

lockdep.c now also uses pr_cont(), so we need to implement it in
liblockdep.

It is currently always used to continue warning lines, so define
pr_cont() the same as pr_warn().  If this changes, we might need to
record the last log level in a TLS variable and have pr_cont() check
that.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name tools-lib-lockdep-define-pr_cont.patch
tools/include/linux/lockdep.h